home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / il / ilViewIter.z / ilViewIter
Encoding:
Text File  |  2002-10-03  |  4.4 KB  |  133 lines

  1.  
  2.  
  3.  
  4. iiiillllVVVViiiieeeewwwwIIIItttteeeerrrr((((3333))))      IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll      iiiillllVVVViiiieeeewwwwIIIItttteeeerrrr((((3333))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      iiiillllVVVViiiieeeewwwwIIIItttteeeerrrr - iterates thru views in ilDisplay
  10.  
  11. IIIINNNNHHHHEEEERRRRIIIITTTTSSSS FFFFRRRROOOOMMMM
  12.      This is a base class.
  13.  
  14. HHHHEEEEAAAADDDDEEEERRRR FFFFIIIILLLLEEEE
  15.      #include <il/ilViewIter.h>
  16.  
  17.  
  18. CCCCLLLLAAAASSSSSSSS DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  19.      iiiillllVVVViiiieeeewwwwIIIItttteeeerrrr iterates thru the view stack of an ilDisplay. It is useful for
  20.      accessing all the ilViews in the view stack that meet a certain criteria.
  21.      The access criteria may be reinitialized and may also be specified for
  22.      each access.
  23.  
  24.  
  25. CCCCLLLLAAAASSSSSSSS MMMMEEEEMMMMBBBBEEEERRRR FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNN SSSSUUUUMMMMMMMMAAAARRRRYYYY
  26.      CCCCoooonnnnssssttttrrrruuuuccccttttoooorrrr
  27.  
  28.           ilViewIter(ilDisplay* disp, ilView* view,
  29.                     int mode = ilVIterNop|ilVIterInc)
  30.  
  31.      IIIItttteeeerrrraaaattttiiiioooonnnn CCCCoooonnnnttttrrrroooollll
  32.  
  33.           void _i_n_i_t(ilView* view, int mode = ilVIterNop|ilVIterInc);
  34.           ilView *_n_e_x_t(int mode = 0);
  35.  
  36.  
  37. FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNN DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNNSSSS
  38.      iiiillllVVVViiiieeeewwwwIIIItttteeeerrrr(((())))
  39.  
  40.           ilViewIter(ilDisplay* disp, ilView* view,
  41.                     int mode = ilVIterNop|ilVIterInc)
  42.  
  43.  
  44.           The constructor takes a pointer the ilDisplay whose view stack
  45.           ilViewIter will operate on. If NULL is passed in _v_i_e_w, then all
  46.           views in the view stack in _d_i_s_p, will be checked based on criteria
  47.           passed in _m_o_d_e. If a pointer to an ilView is passed in _v_i_e_w, then
  48.           only that view will be checked against the criteria.
  49.  
  50.           Currently, the only access criteria supported is ilNop. If ilNop is
  51.           passed in _m_o_d_e, only views with nop flag unset will be accessed.
  52.           The direction of iteration can also be specified in mode. If
  53.           ilVIterInc is specified, then the view stack is searched from top
  54.           (0) to bottom (n).  If ilVIterDec is specified, then the view stack
  55.           is searched from bottom (n) to top (0).
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. iiiillllVVVViiiieeeewwwwIIIItttteeeerrrr((((3333))))      IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll      iiiillllVVVViiiieeeewwwwIIIItttteeeerrrr((((3333))))
  71.  
  72.  
  73.  
  74.      iiiinnnniiiitttt(((())))
  75.  
  76.           void init(ilView* view, int mode = ilVIterNop|ilVIterInc);
  77.  
  78.  
  79.           Allows the ilViewIter to be reinitialized as if it were being
  80.           created.  See constructor for more information.
  81.  
  82.      nnnneeeexxxxtttt(((())))
  83.  
  84.           ilView *next(int mode = 0);
  85.  
  86.  
  87.           Returns a pointer to the next ilView in the view stack that meets
  88.           the criteria. If a new criteria is passed in _m_o_d_e, it will be used
  89.           to find the next view.
  90.  
  91. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  92.      ilDisplay
  93.  
  94. NNNNOOOOTTTTEEEESSSS
  95.      Display operators in ilDisplay use ilViewIter to step thru the view
  96.      stack.
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.